function regExpMatch(url, pattern) {    try { return new RegExp(pattern).test(url); } catch(ex) { return false; }    }
    function FindProxyForURL(url, host) {
    if (shExpMatch(url, "*.wanliu.corp/*") || shExpMatch(url, "*://wanliu.corp/*")) return 'DIRECT';
	if (shExpMatch(url, "*://*.blogspot.jp/*") || shExpMatch(url, "*://blogspot.jp/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.blogger.com/*") || shExpMatch(url, "*://blogger.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.audio-stream.com/*") || shExpMatch(url, "*://audio-stream.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.googleapis.com/*") || shExpMatch(url, "*://googleapis.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.googlecode.com/*") || shExpMatch(url, "*://googlecode.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.googleusercontent.com/*") || shExpMatch(url, "*://googleusercontent.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.vimeo.com/*") || shExpMatch(url, "*://vimeo.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.fb.me/*") || shExpMatch(url, "*://fb.me/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.fplive.net/*") || shExpMatch(url, "*://fplive.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.fbcdn.net/*") || shExpMatch(url, "*://fbcdn.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://192.168.*.*:*/*")) return 'DIRECT';
	if (shExpMatch(url, "*://attacklab.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.feedly.com/*") || shExpMatch(url, "*://feedly.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.twitter.com/*") || shExpMatch(url, "*://twitter.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.ggpht.com/*") || shExpMatch(url, "*://ggpht.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.ytimg.com/*") || shExpMatch(url, "*://ytimg.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.googlevideo.com/*") || shExpMatch(url, "*://googlevideo.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.facebook.com/*") || shExpMatch(url, "*://facebook.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.gstatic.com/*") || shExpMatch(url, "*://gstatic.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://t.co/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.amazonaws.com/*") || shExpMatch(url, "*://amazonaws.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.wwbbc.co.uk/*") || shExpMatch(url, "*://wwbbc.co.uk/*")) return 'DIRECT';
	if (shExpMatch(url, "*://*.akamaihd.net/*") || shExpMatch(url, "*://akamaihd.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.twimg.com/*") || shExpMatch(url, "*://twimg.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.gmail.com/*") || shExpMatch(url, "*://gmail.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://www.titanfall.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.facebook.net/*") || shExpMatch(url, "*://facebook.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.medcl.net/*") || shExpMatch(url, "*://medcl.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.nokogiri.org/*") || shExpMatch(url, "*://nokogiri.org/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.colourlovers.com/*") || shExpMatch(url, "*://colourlovers.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://golang.org/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://files.techcrunch.cn/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.bbc.co.uk/*") || shExpMatch(url, "*://bbc.co.uk/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.nytimes.com/*") || shExpMatch(url, "*://nytimes.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.brightcove.com/*") || shExpMatch(url, "*://brightcove.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.dynamicyield.com/*") || shExpMatch(url, "*://dynamicyield.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.mozilla.net/*") || shExpMatch(url, "*://mozilla.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.bbci.co.uk/*") || shExpMatch(url, "*://bbci.co.uk/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://bit.ly/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://instagram.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://www.pornhub.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://docs.angularjs.org/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.google.com/*") || shExpMatch(url, "*://google.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://chinadigitaltimes.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://stackoverflow.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.tedcdn.com/*") || shExpMatch(url, "*://tedcdn.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.blogspot.com/*") || shExpMatch(url, "*://blogspot.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.youtube.com/*") || shExpMatch(url, "*://youtube.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.google.com.hk/*") || shExpMatch(url, "*://google.com.hk/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.google.co.jp/*") || shExpMatch(url, "*://google.co.jp/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://localhost:*/*")) return 'DIRECT';
	if (shExpMatch(url, "*://www.vpncloud.me/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://zh.wikipedia.org/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://www.dropbox.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://cn.wsj.com.feedsportal.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.github.io/*") || shExpMatch(url, "*://github.io/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.typekit.net/*") || shExpMatch(url, "*://typekit.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://gist.github.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://www.gravatar.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.edgefonts.net/*") || shExpMatch(url, "*://edgefonts.net/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://www.w3schools.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.wp.com/*") || shExpMatch(url, "*://wp.com/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.blogspot.in/*") || shExpMatch(url, "*://blogspot.in/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://socket.io/*")) return 'PROXY 192.168.0.10:8123';
	if (shExpMatch(url, "*://*.html5rocks.com/*") || shExpMatch(url, "*://html5rocks.com/*")) return 'PROXY 192.168.0.10:8123';
	return 'DIRECT';
}